Calling Super constructor in JavaScript